package com.example.demo.repository;

import com.example.demo.entity.Girl;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface GirlRepository  extends CrudRepository<Girl,Long>{
    List<Girl> findByName(String name);
    Girl findById(long id);
}

